<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Tree</title>
    <!--必须要引入的easyUI资源  按顺序引入-->
    <link rel="stylesheet" type="text/css" href="../easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css">
    <script type="text/javascript" src="../easyui/jquery.min.js"></script>
    <script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
    <script>
        $(function () {
            $("#tt").tree({
                url:'tree.json',
                method:'get',animate:true,checkbox:true
            });
        })
    </script>
</head>
<body>
<ul id="tt">1111</ul>
<hr />
<ul id="kk" class="easyui-tree" data-options="url:'tree_data1.json',method:'get',animate:true,checkbox:true"></ul>
</body>
</html>